package org.edu.modules.logistics.ct.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.edu.common.base.BaseEntity;
import org.hibernate.validator.constraints.Length;

import java.io.Serializable;

/**
 * entity-检查项目表
 */
@TableName("ve_houqin_item")
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="检查项目表对象", description="ve_houqin_item")
public class VeHqItem extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableField
    @ApiModelProperty(value = "分类名称")
    @Length(max = 50)
    private String name;

    @TableField
    @ApiModelProperty(value = "上级")
    private Integer pid;

    @TableField
    @ApiModelProperty(value = "排序")
    private Integer listSort;

    @TableField
    @ApiModelProperty(value = "状态")
    private Integer status;

    @TableField
    @ApiModelProperty(value = "是否删除")
    private Integer isDel;
}
